from django.conf.urls import url, include
from. import views

urlpatterns = [
    url(r'^api/v1.0/user/houses/$',views.UserMyHousesView.as_view()),
    url(r'^api/v1.0/houses/$',views.MyNewHouseView.as_view()),
    url(r'^api/v1.0/houses/(?P<house_id>\d+)/images/$',views.MyHouseImageView.as_view()),
    url(r'^api/v1.0/houses/(?P<house_id>\d+)/$',views.HouseInfoView.as_view()),
    url(r'^api/v1.0/houses/index/$',views.IndexHouseView.as_view()),
    url(r'^api/v1.0/houses/search/$',views.HouseSearchView.as_view()),
]
